package com.xinqi.modules.user.user.dto.rsp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户表-响应对象
 *
 * @author: system
 * @date: 2023/01/17
 */
@Data
public class UserPasswordResultDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键", example = "")
    private Long id;
    /**
     *
     */
    @Schema(description = "", example = "")
    private String createBy;
    /**
     *
     */
    @Schema(description = "", example = "")
    private LocalDateTime createTime;
    /**
     * 用户名
     */
    @Schema(description = "用户名", example = "")
    private String username;
    /**
     * 昵称
     */
    @Schema(description = "昵称", example = "")
    private String nickname;

    /**
     * 密码盐
     */
    @Schema(description = "密码盐", example = "")
    private String salt;

    /**
     * 密码
     */
    @Schema(description = "密码", example = "")
    private String password;

    /**
     * 电子邮箱
     */
    @Schema(description = "电子邮箱", example = "")
    private String email;
    /**
     * 手机号
     */
    @Schema(description = "手机号", example = "")
    private String mobile;
    /**
     * 学号
     */
    @Schema(description = "学号", example = "")
    private String studentNumber;
    /**
     * 新奇号
     */
    @Schema(description = "新奇号", example = "")
    private String xinqiNumber;
    /**
     * 头像
     */
    @Schema(description = "头像", example = "")
    private String avatar;
    @Schema(description = "是否上传头像 0否 1是")
    private Integer avatarFlag;
    /**
     * 状态
     */
    @Schema(description = "状态", example = "")
    private String status;
    /**
     * 用户角色 1老师 2学生 3家长
     */
    @Schema(description = "用户角色 1老师 2学生 3家长", example = "")
    private Integer userRole;
    /**
     * 系统角色
     */
    private String sysRoles;
    /**
     * 是否管理员
     */
    private Integer isAdmin;
    /**
     * 是否超级管理员
     */
    @Schema(description = "是否超级管理员", example = "")
    private Integer isSuperAdmin;


    @Schema(description = "QQ绑定标识")
    private Boolean bindQQ = Boolean.FALSE;

    @Schema(description = "微信绑定标识")
    private Boolean bindWeChat = Boolean.FALSE;

    @Schema(description = "融云token")
    private String rongyunToken;

    @Schema(description = "学校")
    private String schoolName;

    @Schema(description = "专业")
    private String major;

    @Schema(description = "性别")
    private String gender;

    @Schema(description = "不存在")
    private Boolean notExist = Boolean.FALSE;

    @Schema(description = "手机号码对好友可见 0不可见 1可见")
    private Integer showMobileConfig;

    @Schema(description = "0公开1好友 2仅自己")
    private Integer showInfoConfig;

    @Schema(description = "通过手机号搜索 0不能搜索  1可以搜索")
    private Integer searchPhone;

    @Schema(description = "新奇号修改次数")
    private Integer times;

    @Schema(description = "二维码")
    private String qrCode;
    private String qrCodeStr;

    // 身份认证信息
    private String realName;
    private String idCard;

}
